package com.haisen.service;

import com.haisen.core.utils.PageResultSet;
import com.haisen.dataobject.entity.Customer;
import com.haisen.dataobject.query.CustomerQuery;

import java.util.List;

public interface CustomerService {

    void create(Customer customer);
    void update(Customer customer);
    void delete(Long[] ids);

    void createBatch(List<Customer> customerList);
    List<Customer> findAll();
    PageResultSet<Customer> findByPage(CustomerQuery customerQuery);

    /**
     * 将excel导入到数据库
     */
    void importExcel2DataBase(String pathFile);
}
